package controllers;

import models.user.User;

public class Security extends Secure.Security{
	static boolean authenticate(String userId, String password) {
		
		User user = User.find("userId,password", userId, password).first();
		
		if(user != null){
			return true;
		}else{
//			User admin = new User("관리자", "admin", "1111");
//			admin.save();
			return false;
		}
    }
}
